<#macro active index>
  <#if index == navIndex>class="active"</#if>
</#macro>
<nav class="navbar navbar-default navbar-static-top">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="${ctx_path}/index.htm">Hasor</a>
		</div>
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li <@active index=0/>><a href="${ctx_path}/quick/">Start</a></li>
				<li <@active index=1/>><a href="${ctx_path}/docs/">Docs</a></li>
				<li <@active index=2/>><a href="${ctx_path}/plugins/">Plugins</a></li>
				<li <@active index=3/>><a href="${ctx_path}/history/">History</a></li>
				<li <@active index=4/>><a href="${ctx_path}/faq/">FAQ</a></li>
				<li <@active index=5/>><a href="${ctx_path}/join/">Join</a></li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li <@active index=7/>><a href="#"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> 登录</a></li>
				<li <@active index=8/>><a href="#"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> 关于</a></li>
			</ul>
		</div>
		<!--/.nav-collapse -->
	</div>
</nav>
<hr>